package red.uec.util;

import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.codec.digest.MessageDigestAlgorithms;

public class PasswordUtils {
    public static String digest(String password){
        return new DigestUtils(MessageDigestAlgorithms.SHA_256).digestAsHex(password);
    }
}
